//menu animation?
// ---- Created with 3Dmigoto v1.2.64 on Sat Oct 14 17:32:07 2017

cbuffer cbChangeOnResize : register(b0)
{
  float4x4 Projection : packoffset(c0);
  float2 vWindowSize : packoffset(c4);
  float2 ff1 : packoffset(c4.z);
}

SamplerState samLinear_s : register(s0);
Texture2D<float4> txDiffuse : register(t0);


// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main( 
  float4 v0 : SV_POSITION0,
  float4 v1 : COLOR0,
  float2 v2 : TEXCOORD0,
  float w2 : TEXCOORD1,
  out float4 o0 : SV_Target0)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.xyzw = txDiffuse.Sample(samLinear_s, v2.xy).xyzw;
  r0.xyzw = v1.xyzw * r0.xyzw;
  r0.xyz = w2.xzz * r0.xyz;
  o0.w = r0.w;
  r0.xyz = log2(r0.xyz);
  r0.xyz = w2.xzz * r0.xyz;
  o0.xyz = exp2(r0.xyz);
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//   using 3Dmigoto v1.2.64 on Sat Oct 14 17:32:07 2017
//
//
// Buffer Definitions: 
//
// cbuffer cbChangeOnResize
// {
//
//   float4x4 Projection;               // Offset:    0 Size:    64 [unused]
//   float2 vWindowSize;                // Offset:   64 Size:     8 [unused]
//   float2 ff1;                        // Offset:   72 Size:     8 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// samLinear                         sampler      NA          NA    0        1
// txDiffuse                         texture  float4          2d    0        1
// cbChangeOnResize                  cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float       
// COLOR                    0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 0   xy          2     NONE   float   xy  
// TEXCOORD                 1     z         2     NONE   float     z 
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v1.xyzw
dcl_input_ps linear v2.xy
dcl_input_ps linear v2.z
dcl_output o0.xyzw
dcl_temps 1
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v1.xyzw
mul r0.xyz, r0.xyzx, v2.zzzz
mov o0.w, r0.w
log r0.xyz, r0.xyzx
mul r0.xyz, r0.xyzx, v2.zzzz
exp o0.xyz, r0.xyzx
ret 
// Approximately 8 instruction slots used

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
